package com.jeecg.common.json;

/**
 * 返回结果
 * Created by xiaoyu on 2017-05-24.
 */
public class WebResult {
    /**
     * 结果代码
     */
    private String code;

    /**
     * 提示消息
     */
    private String msg;

    /**
     * 结果对象
     */
    private Object object;

    public WebResult(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public WebResult(String code, String msg, Object object) {
        this.code = code;
        this.msg = msg;
        this.object = object;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Object getObject() {
        return object;
    }

    public void setObject(Object object) {
        this.object = object;
    }
}
